package com.mz.ozy.mvp.view;

import android.app.Activity;
import android.content.Context;

import com.mz.ozy.base.BasePresenter;
import com.mz.ozy.base.BaseView;
import com.mz.ozy.bean.AccountBean;
import com.mz.ozy.bean.MeBean;
import com.mz.ozy.bean.MyBusBean;

import org.json.JSONObject;

/**
 * @author
 * @date 2018/7/25
 * @description
 */
public class MyBusContract {
    public interface View extends BaseView {
        void getInfoSuccess(MyBusBean bean);

        void getAccountSuccess(AccountBean bean);

        void uploadSuccess(JSONObject bean);

        void getgetMeInfoSuccess(MeBean bean);
    }

    public interface Presenter extends BasePresenter<View> {
        void upAccountHeader(Context context);

        void getMeInfo(Activity activity);

        void getInfo(Activity activity);


        void upload(Context context, String wechatid, String name);


    }


}
